<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
		function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css"
	media="all" />
<link href="css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="css/lightbox.css" type="text/css"
	media="all" />
<!--gallery-popup-css-->
<link href="css/popuo-box.css" rel="stylesheet" type="text/css"
	media="all" />
<!-- Pop-up -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!--fonts-->
<link
	href="http://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400,600,700"
	rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,900"
	rel="stylesheet">
<!--//fonts-->
<style type="text/css">
#menu {
	height: 100px;
	width: 400px;
	overflow: hidden;
	text-align: center;
}

#menu ul li {
	float: left;
	margin: 0 5px;
	list-style-type: none;
}

/* Menu Link Styles */
#menu ul a {
	display: block;
	background: #e70f23;
	color: #fff;
	height: 100px;
	width: 400px;
	font: lighter 2em/100px "Helvetica Neue", Arial, Helvetica, Geneva,
		sans-serif;
	text-decoration: none;
	-webkit-transition: margin .4s ease-in-out;
	-moz-transition: margin .4s ease-in-out;
	-o-transition: margin .4s ease-in-out;
	-ms-transition: margin .4s ease-in-out;
	transition: margin .4s ease-in-out;
}

/* Secondary Link Styles */
#menu ul a:nth-of-type(even) {
	background: #000;
	color: white;
}

/* Hover Slide */
#menu ul li:hover :first-child {
	margin-top: -100px;
}
</style>
</head>
<body>
	<!-- banner -->
	<div class="banner" id="home">
		<div class="header">
			<div class="w3_agile_logo">
				<h1>
					<a href="/zzLoveProduct/HomeServlet">我的主页<span>个人信息</span></a>
				</h1>
			</div>
			<div class="w3_menu">
				<div class="mobile-nav-button">
					<div class="mobile-nav-button__line"></div>
					<div class="mobile-nav-button__line"></div>
					<div class="mobile-nav-button__line"></div>
				</div>
				<nav class="mobile-menu">
					<ul>
						<li><a href="/zzLoveProduct/index/index.jsp">主页</a></li>
						<li><a href="/zzLoveProduct/search/Search.jsp">搜索</a></li>
						<li><a href="/zzLoveProduct/showStoryServlet">故事集</a></li>
						<li><a href="/zzLoveProduct/match/match.jsp">心灵匹配</a></li>
						<li><a href="/zzLoveProduct/OutServlet">退出</a></li>

					</ul>
					<div class="clearfix"></div>

				</nav>
			</div>
			<div class="clearfix"></div>
		</div>
		<div class="agile_banner_info">
			<h2>
				<span>你好！我是</span>${member.nikename}</h2>
			<div id="typed-strings" class="agileits_w3layouts_strings">
				<p>
					欢迎 <i>浏览</i>
				</p>
				<p>
					欢迎 <i>打招呼</i>
				</p>
				<p>
					欢迎 <i>找我约会</i>
				</p>
			</div>
			<span id="typed" style="white-space: pre;"></span>
			<p class="banner-p-w3ls">欢迎来到我的个人相亲主页</p>
		</div>

		<div class="banner-image-w3layouts">
			<img
				src="/zzLoveProduct/home/images/otherHomeImg/${member.id }.jpg"
				class="img-responsive" />
		</div>
		<div class="banner-image-w3layouts">
			<img src="images/men.png" alt=" " class="img-responsive" />
		</div>
	</div>
	<!-- //banner -->
	<!-- about -->	
		<div class="col-md-6 person-info-agileits-w3layouts">
			<h3 class="w3_head w3_head1">
				没错这就是我 <span>我是${member.nikename}</span>
			</h3>

			<ul>
				<li><span>姓名</span>: ${member.username}</li>
				<li><span>性别</span>: ${member.gendar}</li>
				<li><span>居住地</span>: ${member.location}</li>
				<li><span>出生日期</span>: ${member.birthday}</li>
				<li><span>身高</span>: ${member.height}</li>
				<li><span>收入</span>: ${member.income}</li>
				<li><span>学历</span>: ${member.study}</li>
				<li><span>婚姻状况</span>: ${member.wedding}</li>
				<li></li>
				<li><a target="_blank" style="color: black; border: 1px"
					href="//shang.qq.com/wpa/qunwpa?idkey=3956a77640969d31992e4912056610f994f9984cfa88689a1b867567197e8039"><strong>加群一起聊吧</strong></a>
				</li>
			</ul>
		</div>
		<div class="clearfix"></div>
	</div>
	<!-- //about-bottom -->

	<div id="small-dialog" class="mfp-hide w3ls_small_dialog wthree_pop">
		<div class="agileits_modal_body">
			<iframe src=""></iframe>
		</div>
	</div>
	<!-- mid -->
	<section class="mid-w3layouts">
		<div class="container">
			<h6>如果你觉得你能和我合得来的话</h6>
			<h3>
				那就 <span>和我</span> 一起约会吧！
			</h3>

		</div>
	</section>
	<!-- //mid -->
	<!--skills -->
	<div class="skills-agileinfo" id="skills">
		<div class="container">
			<h3 class="w3_head w3_head1 white-agile">
				我的类型 <span>还有我喜欢的类型</span>
			</h3>
			<div class="modal-spa">
				<div class="skills">
					<div class="col-md-6 bar-grids bargrids-left">
						<c:if test="${!empty typeMessageBytype }">
							<h4>
								<span class="glyphicon glyphicon-cog"></span>
								我的类型是${typeMessageBytype.name }
							</h4>
							<h6>${typeMessageBytype.character }
								<span> 80% </span>
							</h6>
							<div class="progress">
								<div class="progress-bar progress-bar-striped active"
									style="width: 80%"></div>
							</div>
							<h6>${typeMessageBytype.role }
								<span> 70% </span>
							</h6>
							<div class="progress  w3-agile">
								<div class="progress-bar progress-bar-striped active"
									style="width: 70%"></div>
							</div>
							<h6>${typeMessageBytype.contact }<span>90% </span>
							</h6>
							<div class="progress  w3-agile">
								<div class="progress-bar progress-bar-striped active"
									style="width: 90%"></div>
							</div>
							<h6>${typeMessageBytype.adjective }
								<span> 75% </span>
							</h6>
							<div class="progress  w3-agile prgs-w3agile-last">
								<div class="progress-bar progress-bar-striped active"
									style="width: 75%"></div>
							</div>
						</c:if>
						<c:if test="${empty typeMessageBytype }">
							<div id="menu">
								<ul>
									<li><a href="/zzLoveProduct/match/match.jsp">没有做心灵匹配</a> <a
										href="/zzLoveProduct/match/match.jsp">快去做吧</a></li>
								</ul>
							</div>
						</c:if>
					</div>
					<div class="col-md-6 bar-grids  w3-agile">
						<c:if test="${!empty p }">
						
						<span style="width: 100px;color:white;height: 100px;font-size:30px">我关注的人有</span>
								
								
<c:forEach items="${p}" var="p">
				<div>
	    <div class="col-sm-6">
	 	<ul class="profile_item">
		  <a href="/zzLoveProduct/ShowOthersMessage?id=${p.id}" target="_blank">
		   	  <img src="/zzLoveProduct/search/images/Ending/${p.photo}.jpg"  style="width:150px;height:200px"/>
		   	  <p style="font-size:15px;width:150px;height:30px">名字:${p.username}</p>
		   	  <p style="font-size:15px;width:150px;height:30px">身高:${p.high}</p>
		   	  <p style="font-size:15px;width:150px;height:30px">生日:${p.date}</p>
		   	  <p style="font-size:15px;width:150px;height:40px">收入情况:${p.income}</p>
		   	  <p style="font-size:15px;width:150px;height:30px">城市:${p.city}</p>
		   	  <p style="font-size:15px;width:150px;height:30px;color:red">热度:${p.heat}</p>
		   <div class="clearfix"> </div>
		  </a>
	   </div>
	   </div>
</c:forEach>
							
						</c:if>
						<c:if test="${empty p }">
							<div id="menu">
								<ul>
									<li><a href="/zzLoveProduct/search/Search.jsp">没有关注别人</a>
										<a href="/zzLoveProduct/search/Search.jsp">快去看看别人吧</a></li>
								</ul>
							</div>
						</c:if>
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
	</div>

	<div class="contact-info">
		<div class="container">

			<div class="col-md-4 contact-grids contact-mid">
				<h5>我的电话</h5>
				<ul>
					<li><i class="fa fa-phone" aria-hidden="true"></i>${member.username}</li>
				</ul>
			</div>

		</div>
	</div>
	<div class="copy-w3-agile">
		<p>
			Copyright &copy; 2017.Company name All rights reserved.<a
				target="_blank" href="/zzLoveProduct/index/index.jsp">指针爱情</a>
		</p>
	</div>
	<!--//footer-->

	<!-- js -->
	<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>


	<!-- Navigation-JavaScript -->
	<!-- menu -->
	<script>
	$(document).ready(function () {
	  $('.mobile-nav-button').on('click', function() {
	  $( ".mobile-nav-button .mobile-nav-button__line:nth-of-type(1)" ).toggleClass( "mobile-nav-button__line--1");
	  $( ".mobile-nav-button .mobile-nav-button__line:nth-of-type(2)" ).toggleClass( "mobile-nav-button__line--2");  
	  $( ".mobile-nav-button .mobile-nav-button__line:nth-of-type(3)" ).toggleClass( "mobile-nav-button__line--3");  
	  
	  $('.mobile-menu').toggleClass('mobile-menu--open');
	  return false;
	}); 
	});
</script>
	<!-- //menu -->
	<!-- Gallery-plugin -->
	<script src="js/jquery.mobile.custom.min.js"></script>
	<script src="js/jquery.cm-overlay.js"></script>
	<script>
			$(document).ready(function(){
				$('.cm-overlay').cmOverlay();
			});
		</script>
	<!-- //Gallery-plugin -->
	<!-- responsiveslides -->
	<script src="js/responsiveslides.min.js"></script>
	<script>
									// You can also use "$(window).load(function() {"
									$(function () {
									 // Slideshow 4
									$("#slider3").responsiveSlides({
										auto: true,
										pager: false,
										nav: true,
										speed: 500,
										namespace: "callbacks",
										before: function () {
									$('.events').append("<li>before event fired.</li>");
									},
									after: function () {
										$('.events').append("<li>after event fired.</li>");
										}
										});
										});
			</script>
	<!-- //responsiveslides -->

	<!-- //Navigation-JavaScript -->
	<!--pop-up-box -->
	<script src="js/jquery.magnific-popup.js" type="text/javascript"></script>
	<script>
					$(document).ready(function() {
					$('.popup-with-zoom-anim').magnificPopup({
					type: 'inline',
					fixedContentPos: false,
					fixedBgPos: true,
					overflowY: 'auto',
					closeBtnInside: true,
					preloader: false,
					midClick: true,
					removalDelay: 300,
					mainClass: 'my-mfp-zoom-in'
					});

					});
					</script>
	<!-- //pop-up-box -->

	<!-- banner-type-text -->
	<script src="js/typed.js" type="text/javascript"></script>
	<script>
		$(function(){

			$("#typed").typed({
				// strings: ["Typed.js is a <strong>jQuery</strong> plugin.", "It <em>types</em> out sentences.", "And then deletes them.", "Try it out!"],
				stringsElement: $('#typed-strings'),
				typeSpeed: 30,
				backDelay: 500,
				loop: false,
				contentType: 'html', // or text
				// defaults to false for infinite loop
				loopCount: false,
				callback: function(){ foo(); },
				resetCallback: function() { newTyped(); }
			});

			$(".reset").click(function(){
				$("#typed").typed('reset');
			});

		});

		function newTyped(){ /* A new typed object */ }

		function foo(){ console.log("Callback"); }
    </script>
	<!-- //banner-type-text -->
	<!-- jarallax-js -->
	<script src="js/SmoothScroll.min.js"></script>
	<!-- start-smoth-scrolling -->
	<script type="text/javascript" src="js/move-top.js"></script>
	<script type="text/javascript" src="js/easing.js"></script>
	<script type="text/javascript">
	jQuery(document).ready(function($) {
		$(".scroll").click(function(event){		
			event.preventDefault();
			$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
		});
	});
</script>
	<!-- start-smoth-scrolling -->
	<!-- smooth scrolling -->
	<script type="text/javascript">
		$(document).ready(function() {
		/*
			var defaults = {
			containerID: 'toTop', // fading element id
			containerHoverID: 'toTopHover', // fading element hover id
			scrollSpeed: 1200,
			easingType: 'linear' 
			};
		*/								
		$().UItoTop({ easingType: 'easeOutQuart' });
		});
	</script>

	<div class="arr-w3ls">
		<a href="#home" id="toTop" style="display: block;"> <span
			id="toTopHover" style="opacity: 1;"> </span></a>
	</div>
	<!-- //smooth scrolling -->


	<script type="text/javascript" src="js/bootstrap-3.1.1.min.js"></script>

</body>
</html>